<?php
include "PostnewController.php";
$controller = new PostnewController;
$IdPostNews = 1;
?>
<html>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<TITLE>Postnew</TITLE>
<body>
<TABLE>
	<tr>
		<h1><FONT FACE="Arial">PostNew</FONT></h1>
		</td>
	</tr>
	<tr>
		<td><?php $controller->ExibePostnew(); ?></td>
	</tr>
</TABLE>
<form action="salvar.php" method="post">
<div id=req>
<table border=1 cellpadding="10">
	<tr>
		<td><b>TAG's Associadas</b></td>
	</tr>
</table>

<?php
$controller->ExibeTags(1);
?>
</div>
<table>
<tr>
<td><br><br></td>
<td>Nova TAG:</td>
		<td><input name="tag" type="text" id="nome"></td>
        <td><div><input name="incluir" type="submit" value="incluir"></div>
	</td>
	</tr>
</table>
<input type="hidden" name="idpostnew" id="idpostnew" value="<?php print $IdPostNews?>" />
</form>
